<template>
	<view>
		<u-calendar startText="住店" endText="离店" confirmDisabledText="请选择离店日期" :formatter="formatter" :show="show"
			:mode="mode" @confirm="confirm" ref="calendar">
		</u-calendar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: true,
				mode: 'single'
			}
		},
		methods: {
			confirm(e) {
				console.log(e);
			}
		}
	}
</script>

<style>
</style>